package com.xy.demo.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.xy.demo.excel.converter.LongDateConverter;
import lombok.Data;

@Data
public class RoleExport {

    @ExcelProperty("ID")
    private Long role_id;

    @ExcelProperty("角色名称")
    private String role_name;

    @ExcelProperty("位置")
    private Long position;

    @ExcelProperty("icon")
    private String icon;

    @ExcelProperty("颜色")
    private String color;

    @ExcelProperty("禁用")
    private Integer state;

    @ExcelProperty(value = "创建时间",converter = LongDateConverter.class)
    private Long create_time;

    public Long getRole_id() {
        return role_id;
    }

    public void setRole_id(Long role_id) {
        this.role_id = role_id;
    }

    public String getRole_name() {
        return role_name;
    }

    public void setRole_name(String role_name) {
        this.role_name = role_name;
    }

    public Long getPosition() {
        return position;
    }

    public void setPosition(Long position) {
        this.position = position;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Long getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Long create_time) {
        this.create_time = create_time;
    }
}
